import Vue from 'vue'
import 'core-js'
import router from './router/index.js'
import SvgIcon from './components/SvgIcon.vue'// svg component


import App from './App.vue'
import ElementUI from 'element-ui';

import 'xe-utils'
import VXETable from 'vxe-table'
import 'vxe-table/lib/style.css'
import store from './store/'
import EllipsisCom from './components/Ellipsis.vue'

 import {INVOICERECEIVE} from "@/components/common/constant.js";




import './style/reset.scss'
import {DictCode} from "@/utils/DictConstant";

// 全局注册
Vue.component('svg-icon', SvgIcon);
Vue.prototype.$deepCopy = function (obj){return JSON.parse(JSON.stringify(obj))}
Vue.prototype.$XModal = VXETable.modal

Vue.config.productionTip = false
Vue.use(ElementUI);
Vue.use(VXETable)
Vue.use(EllipsisCom);
Vue.prototype.INVOICERECEIVE = INVOICERECEIVE;



new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
